﻿using Exam.Model;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Exam.DBManager.DBContexts
{
    public partial class ExamDbContext
    {
        public DbSet<SysUser> SysUsers { get; set; }//注册用户

        public DbSet<SysRole> SysRoles { get; set; }//角色
        public DbSet<SysUser_Role> SysUserRoles { get; set; }//用户角色
        public DbSet<Term> Terms { get; set; }//学期
        public DbSet<Paper> Papers { get; set; }//试卷
        public DbSet<UserPaper> UserPapers { get; set; }//用户试卷
        public DbSet<PaperGrade> PaperGrades { get; set; }//试卷难度
        public DbSet<QuestionType> QuestionTypes { get; set; }//题型
        public DbSet<KnowledgePoint> KnowledgePoints { get; set; }//知识点
        public DbSet<Discipline> Disciplines { get; set; }//学科
        public DbSet<QuestionBank> QuestionBanks { get; set; }//题库/题目
        public DbSet<Options> Options { get; set; }//选项
        public DbSet<Paper_QuestionsBank> PaperQuestionsBanks { get;set; }//试卷题库

    }
}
